﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MINERP.MODEL.FoundationModel;

namespace MINERP.MODEL.NewPinBan
{
    public class DisPalyBoardInfo
    {
        public int BoardID { get; set; }
        public int PhotoNum { get; set; }
        public decimal UserfulNum { get; set; }
        public decimal UseTime { get; set; }
        public decimal Length { get; set; }
        public bool Selected { get; set; }
        public List<PhotoInfo_PinBan> listPhoto { get; set; }
        public int TemplateID { get { return BoardTemplate.TempLateId; } }
        public int FactLength { get; set; }
        public string PaperTypeName { get { return BoardTemplate.PaperTypeName; } }
        public string PaperFaceName { get { return BoardTemplate.PaperFaceName; } }
        public string Width { get { return (BoardTemplate.BoardLength * 2.54).ToString("0.00"); } }
        public string Height { get { return (BoardTemplate.BoardHeight * 2.54).ToString("0.00"); } }
        public Tb_paperTemplate_Info BoardTemplate { get; set; }
    }
}
